package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.UserInviteInfo;

import java.util.*;
public class UserInviteInfoExample extends SgExample<UserInviteInfoExample.Criteria> {
    public static final Class<UserInviteInfo> beanClass = UserInviteInfo.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn vipLevel;
    public static EntityColumn agentId;
    public static EntityColumn registeImgUrl;
    public static EntityColumn inviteVip;
    public static EntityColumn inviteScore;
    public static EntityColumn inviteCode;
    public static EntityColumn deviceCid;
    public static EntityColumn mallUserId;
    public static EntityColumn inviteNum;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        vipLevel = listMap.get("vipLevel");
        agentId = listMap.get("agentId");
        registeImgUrl = listMap.get("registeImgUrl");
        inviteVip = listMap.get("inviteVip");
        inviteScore = listMap.get("inviteScore");
        inviteCode = listMap.get("inviteCode");
        deviceCid = listMap.get("deviceCid");
        mallUserId = listMap.get("mallUserId");
        inviteNum = listMap.get("inviteNum");
        }

    public UserInviteInfoExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected UserInviteInfoExample.Criteria createCriteriaInternal() {
        return new UserInviteInfoExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public UserInviteInfoExample.Criteria andVipLevelIsNull() {
            return isNull(vipLevel);
        }

        public UserInviteInfoExample.Criteria andVipLevelIsNotNull() {
            return isNotNull(vipLevel);
        }

        public UserInviteInfoExample.Criteria andVipLevelEqualTo(Integer value) {
            return equalTo(vipLevel, value);
        }

        public UserInviteInfoExample.Criteria andVipLevelNotEqualTo(Integer value) {
            return notEqualTo(vipLevel, value);
        }

        public UserInviteInfoExample.Criteria andVipLevelGreaterThan(Integer value) {
            return greaterThan(vipLevel, value);
        }

        public UserInviteInfoExample.Criteria andVipLevelGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(vipLevel, value);
        }

        public UserInviteInfoExample.Criteria andVipLevelLessThan(Integer value) {
            return lessThan(vipLevel, value);
        }

        public UserInviteInfoExample.Criteria andVipLevelLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(vipLevel, value);
        }

        public UserInviteInfoExample.Criteria andVipLevelIn(List<Integer> values) {
            return in(vipLevel, values);
        }

        public UserInviteInfoExample.Criteria andVipLevelNotIn(List<Integer> values) {
            return notIn(vipLevel, values);
        }

        public UserInviteInfoExample.Criteria andVipLevelBetween(Integer value1, Integer value2) {
            return between(vipLevel, value1, value2);
        }

        public UserInviteInfoExample.Criteria andVipLevelNotBetween(Integer value1, Integer value2) {
            return notBetween(vipLevel, value1, value2);
        }
        public UserInviteInfoExample.Criteria andAgentIdIsNull() {
            return isNull(agentId);
        }

        public UserInviteInfoExample.Criteria andAgentIdIsNotNull() {
            return isNotNull(agentId);
        }

        public UserInviteInfoExample.Criteria andAgentIdEqualTo(Long value) {
            return equalTo(agentId, value);
        }

        public UserInviteInfoExample.Criteria andAgentIdNotEqualTo(Long value) {
            return notEqualTo(agentId, value);
        }

        public UserInviteInfoExample.Criteria andAgentIdGreaterThan(Long value) {
            return greaterThan(agentId, value);
        }

        public UserInviteInfoExample.Criteria andAgentIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(agentId, value);
        }

        public UserInviteInfoExample.Criteria andAgentIdLessThan(Long value) {
            return lessThan(agentId, value);
        }

        public UserInviteInfoExample.Criteria andAgentIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(agentId, value);
        }

        public UserInviteInfoExample.Criteria andAgentIdIn(List<Long> values) {
            return in(agentId, values);
        }

        public UserInviteInfoExample.Criteria andAgentIdNotIn(List<Long> values) {
            return notIn(agentId, values);
        }

        public UserInviteInfoExample.Criteria andAgentIdBetween(Long value1, Long value2) {
            return between(agentId, value1, value2);
        }

        public UserInviteInfoExample.Criteria andAgentIdNotBetween(Long value1, Long value2) {
            return notBetween(agentId, value1, value2);
        }
        public UserInviteInfoExample.Criteria andRegisteImgUrlIsNull() {
            return isNull(registeImgUrl);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlIsNotNull() {
            return isNotNull(registeImgUrl);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlEqualTo(String value) {
            return equalTo(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlNotEqualTo(String value) {
            return notEqualTo(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlGreaterThan(String value) {
            return greaterThan(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlLessThan(String value) {
            return lessThan(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlLike(String value) {
            return like(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlNotLike(String value) {
            return notLike(registeImgUrl, value);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlIn(List<String> values) {
            return in(registeImgUrl, values);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlNotIn(List<String> values) {
            return notIn(registeImgUrl, values);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlBetween(String value1, String value2) {
            return between(registeImgUrl, value1, value2);
        }

        public UserInviteInfoExample.Criteria andRegisteImgUrlNotBetween(String value1, String value2) {
            return notBetween(registeImgUrl, value1, value2);
        }
        public UserInviteInfoExample.Criteria andInviteVipIsNull() {
            return isNull(inviteVip);
        }

        public UserInviteInfoExample.Criteria andInviteVipIsNotNull() {
            return isNotNull(inviteVip);
        }

        public UserInviteInfoExample.Criteria andInviteVipEqualTo(Integer value) {
            return equalTo(inviteVip, value);
        }

        public UserInviteInfoExample.Criteria andInviteVipNotEqualTo(Integer value) {
            return notEqualTo(inviteVip, value);
        }

        public UserInviteInfoExample.Criteria andInviteVipGreaterThan(Integer value) {
            return greaterThan(inviteVip, value);
        }

        public UserInviteInfoExample.Criteria andInviteVipGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(inviteVip, value);
        }

        public UserInviteInfoExample.Criteria andInviteVipLessThan(Integer value) {
            return lessThan(inviteVip, value);
        }

        public UserInviteInfoExample.Criteria andInviteVipLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(inviteVip, value);
        }

        public UserInviteInfoExample.Criteria andInviteVipIn(List<Integer> values) {
            return in(inviteVip, values);
        }

        public UserInviteInfoExample.Criteria andInviteVipNotIn(List<Integer> values) {
            return notIn(inviteVip, values);
        }

        public UserInviteInfoExample.Criteria andInviteVipBetween(Integer value1, Integer value2) {
            return between(inviteVip, value1, value2);
        }

        public UserInviteInfoExample.Criteria andInviteVipNotBetween(Integer value1, Integer value2) {
            return notBetween(inviteVip, value1, value2);
        }
        public UserInviteInfoExample.Criteria andInviteScoreIsNull() {
            return isNull(inviteScore);
        }

        public UserInviteInfoExample.Criteria andInviteScoreIsNotNull() {
            return isNotNull(inviteScore);
        }

        public UserInviteInfoExample.Criteria andInviteScoreEqualTo(Integer value) {
            return equalTo(inviteScore, value);
        }

        public UserInviteInfoExample.Criteria andInviteScoreNotEqualTo(Integer value) {
            return notEqualTo(inviteScore, value);
        }

        public UserInviteInfoExample.Criteria andInviteScoreGreaterThan(Integer value) {
            return greaterThan(inviteScore, value);
        }

        public UserInviteInfoExample.Criteria andInviteScoreGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(inviteScore, value);
        }

        public UserInviteInfoExample.Criteria andInviteScoreLessThan(Integer value) {
            return lessThan(inviteScore, value);
        }

        public UserInviteInfoExample.Criteria andInviteScoreLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(inviteScore, value);
        }

        public UserInviteInfoExample.Criteria andInviteScoreIn(List<Integer> values) {
            return in(inviteScore, values);
        }

        public UserInviteInfoExample.Criteria andInviteScoreNotIn(List<Integer> values) {
            return notIn(inviteScore, values);
        }

        public UserInviteInfoExample.Criteria andInviteScoreBetween(Integer value1, Integer value2) {
            return between(inviteScore, value1, value2);
        }

        public UserInviteInfoExample.Criteria andInviteScoreNotBetween(Integer value1, Integer value2) {
            return notBetween(inviteScore, value1, value2);
        }
        public UserInviteInfoExample.Criteria andInviteCodeIsNull() {
            return isNull(inviteCode);
        }

        public UserInviteInfoExample.Criteria andInviteCodeIsNotNull() {
            return isNotNull(inviteCode);
        }

        public UserInviteInfoExample.Criteria andInviteCodeEqualTo(String value) {
            return equalTo(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeNotEqualTo(String value) {
            return notEqualTo(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeGreaterThan(String value) {
            return greaterThan(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeLessThan(String value) {
            return lessThan(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeLike(String value) {
            return like(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeNotLike(String value) {
            return notLike(inviteCode, value);
        }

        public UserInviteInfoExample.Criteria andInviteCodeIn(List<String> values) {
            return in(inviteCode, values);
        }

        public UserInviteInfoExample.Criteria andInviteCodeNotIn(List<String> values) {
            return notIn(inviteCode, values);
        }

        public UserInviteInfoExample.Criteria andInviteCodeBetween(String value1, String value2) {
            return between(inviteCode, value1, value2);
        }

        public UserInviteInfoExample.Criteria andInviteCodeNotBetween(String value1, String value2) {
            return notBetween(inviteCode, value1, value2);
        }
        public UserInviteInfoExample.Criteria andDeviceCidIsNull() {
            return isNull(deviceCid);
        }

        public UserInviteInfoExample.Criteria andDeviceCidIsNotNull() {
            return isNotNull(deviceCid);
        }

        public UserInviteInfoExample.Criteria andDeviceCidEqualTo(String value) {
            return equalTo(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidNotEqualTo(String value) {
            return notEqualTo(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidGreaterThan(String value) {
            return greaterThan(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidLessThan(String value) {
            return lessThan(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidLike(String value) {
            return like(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidNotLike(String value) {
            return notLike(deviceCid, value);
        }

        public UserInviteInfoExample.Criteria andDeviceCidIn(List<String> values) {
            return in(deviceCid, values);
        }

        public UserInviteInfoExample.Criteria andDeviceCidNotIn(List<String> values) {
            return notIn(deviceCid, values);
        }

        public UserInviteInfoExample.Criteria andDeviceCidBetween(String value1, String value2) {
            return between(deviceCid, value1, value2);
        }

        public UserInviteInfoExample.Criteria andDeviceCidNotBetween(String value1, String value2) {
            return notBetween(deviceCid, value1, value2);
        }
        public UserInviteInfoExample.Criteria andMallUserIdIsNull() {
            return isNull(mallUserId);
        }

        public UserInviteInfoExample.Criteria andMallUserIdIsNotNull() {
            return isNotNull(mallUserId);
        }

        public UserInviteInfoExample.Criteria andMallUserIdEqualTo(Long value) {
            return equalTo(mallUserId, value);
        }

        public UserInviteInfoExample.Criteria andMallUserIdNotEqualTo(Long value) {
            return notEqualTo(mallUserId, value);
        }

        public UserInviteInfoExample.Criteria andMallUserIdGreaterThan(Long value) {
            return greaterThan(mallUserId, value);
        }

        public UserInviteInfoExample.Criteria andMallUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(mallUserId, value);
        }

        public UserInviteInfoExample.Criteria andMallUserIdLessThan(Long value) {
            return lessThan(mallUserId, value);
        }

        public UserInviteInfoExample.Criteria andMallUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(mallUserId, value);
        }

        public UserInviteInfoExample.Criteria andMallUserIdIn(List<Long> values) {
            return in(mallUserId, values);
        }

        public UserInviteInfoExample.Criteria andMallUserIdNotIn(List<Long> values) {
            return notIn(mallUserId, values);
        }

        public UserInviteInfoExample.Criteria andMallUserIdBetween(Long value1, Long value2) {
            return between(mallUserId, value1, value2);
        }

        public UserInviteInfoExample.Criteria andMallUserIdNotBetween(Long value1, Long value2) {
            return notBetween(mallUserId, value1, value2);
        }
        public UserInviteInfoExample.Criteria andInviteNumIsNull() {
            return isNull(inviteNum);
        }

        public UserInviteInfoExample.Criteria andInviteNumIsNotNull() {
            return isNotNull(inviteNum);
        }

        public UserInviteInfoExample.Criteria andInviteNumEqualTo(Integer value) {
            return equalTo(inviteNum, value);
        }

        public UserInviteInfoExample.Criteria andInviteNumNotEqualTo(Integer value) {
            return notEqualTo(inviteNum, value);
        }

        public UserInviteInfoExample.Criteria andInviteNumGreaterThan(Integer value) {
            return greaterThan(inviteNum, value);
        }

        public UserInviteInfoExample.Criteria andInviteNumGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(inviteNum, value);
        }

        public UserInviteInfoExample.Criteria andInviteNumLessThan(Integer value) {
            return lessThan(inviteNum, value);
        }

        public UserInviteInfoExample.Criteria andInviteNumLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(inviteNum, value);
        }

        public UserInviteInfoExample.Criteria andInviteNumIn(List<Integer> values) {
            return in(inviteNum, values);
        }

        public UserInviteInfoExample.Criteria andInviteNumNotIn(List<Integer> values) {
            return notIn(inviteNum, values);
        }

        public UserInviteInfoExample.Criteria andInviteNumBetween(Integer value1, Integer value2) {
            return between(inviteNum, value1, value2);
        }

        public UserInviteInfoExample.Criteria andInviteNumNotBetween(Integer value1, Integer value2) {
            return notBetween(inviteNum, value1, value2);
        }
    }
}